package org.lagou.edu.logSdk.thread;

import org.lagou.edu.logSdk.types.OpLogRecord;

/**
 * @Author 咖啡杯里的茶
 * @date 2022/8/7
 */
public class SendLogTask<T> implements Runnable{

	private OpLogRecord<T> opLogRecord;

	public SendLogTask(OpLogRecord<T> opLogRecord) {
		this.opLogRecord = opLogRecord;
	}

	@Override
	public void run() {
		System.out.println(Thread.currentThread().getName() + "执行发送日志的逻辑" + opLogRecord);
	}
}
